Skip to content

Conversation

@donBarbos
Copy link
Contributor

@donBarbos donBarbos commented Oct 15, 2025

@github-actions

This comment has been minimized.

@donBarbos donBarbos marked this pull request as ready for review October 15, 2025 18:52
@github-actions
Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@donBarbos donBarbos changed the title [compression] Add common _Decompressor Protocol [compression] Add Protocol _Decompressor Oct 17, 2025
Comment on lines +14 to +15
@type_check_only
class _Decompressor(Protocol):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we import this form _compression instead to avoid the duplication?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As I understand it, these files completely duplicate each other, since _compression, according to VERSION, is available up to 3.13

@srittau srittau merged commit 1dad9a5 into python:main Nov 14, 2025
63 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants